package com.example.demo.mapper;

import com.example.demo.entity.address;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface addressMapper {

    public List<address> selectAddress(String user);
    public void addAddress(address address);
    public void updateAddress();
    public void deleteAddressbyid(int id);
    public void updateaddress2(address address);
}
